home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc Source Code / Storage / Bento / SUClone.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-22  |  1.2 KB  |  60 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        SUClone.h
  3.  
  4.     Contains:    SUCloneHelper header
  5.  
  6.     Written by:    Vincent Lo
  7.  
  8.     Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>     1/26/95    VL        first checked in
  13.     To Do:
  14.     
  15. */
  16.  
  17. #ifndef _SUCLONE_
  18. #define _SUCLONE_
  19.  
  20. #ifndef _ODTYPES_
  21. #include <ODTypes.h>
  22. #endif
  23.  
  24. #ifndef _ODMEMORY_
  25. #include <ODMemory.h>
  26. #endif
  27.  
  28. //==============================================================================
  29. // Classes defined in this interface
  30. //==============================================================================
  31. class SUCloneHelper;
  32.  
  33. //==============================================================================
  34. // Classes used by this interface
  35. //==============================================================================
  36. class ScopeIDList;
  37.  
  38. //==============================================================================
  39. // SUCloneHelper
  40. //==============================================================================
  41. class SUCloneHelper
  42. {
  43. public:
  44.  
  45.     SUCloneHelper();
  46.     
  47.     ~SUCloneHelper();
  48.     
  49.     ODBoolean ShouldClone(ODDraftKey key, ODID id);
  50.  
  51. private:
  52.  
  53.     ScopeIDList*    fScopeIDList;
  54.     ODDraftKey        fKey;
  55.     ODMemoryHeapID    fHeap;
  56.     
  57.     ODMemoryHeapID    GetHeap() {return fHeap;}
  58. };
  59.  
  60. #endif    // _SUCLONE_